//
//  UITextField+Block.h
//  MasonryDemo
//
//  Created by xieyingze on 16/11/9.
//  Copyright © 2016年 xieyingze. All rights reserved.
//

#import <UIKit/UIKit.h>
#import <objc/runtime.h>

typedef void (^InputBlock)(NSString *string);

@interface UITextField (Block)

@property (nonatomic, readonly) NSMutableDictionary *event;

- (void)handleControlEvent:(UIControlEvents)controlEvent withBlovk:(InputBlock)inputBlock;

@end
